import request from '@/utils/request'
import { getCommentType, deleteCommentType } from "@/type/comment"
export default {
    getAllComment: (data: getCommentType) => request.post('/getAllComment', data),
    deleteComment: (data: deleteCommentType) => request.delete('/deleteComment', { params: data }),
    getAllGoodcomment: (data: getCommentType) => request.post('/getAllGoodcomment', data),
    deleteGoodcomment: (data: deleteCommentType) => request.delete('/deleteGoodcomment', { params: data }),

}